package com.bl.org.mapper;

import com.bl.org.domain.Employee;
import com.bl.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Bao
 * @since 2022-06-25
 */

public interface EmployeeMapper extends BaseMapper<Employee> {

    void removeEmployeeRoleByEmployeeId(Long id);
    //保存中间表的信息
    void saveEmployeeRole(Employee employee);


    Employee loadByLogininfoId(Long id);

    List<Employee> loadEmpByShopId(Long shopId);

}
